NXP Semiconductors /LPC11Exx /USART /MCR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as MCR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (DTRCTRL)DTRCTRL 0 (RTSCTRL)RTSCTRL 0RESERVED 0 (DISABLE_MODEM_LOOPBA)LMS 0RESERVED 0 (DISABLE_AUTO_RTS_FLO)RTSEN 0 (DISABLE_AUTO_CTS_FLO)CTSEN 0RESERVED

CTSEN=DISABLE_AUTO_CTS_FLO, RTSEN=DISABLE_AUTO_RTS_FLO, LMS=DISABLE_MODEM_LOOPBA

Description

Modem Control Register.

Fields

DTRCTRL

Source for modem output pin DTR. This bit reads as 0 when modem loopback mode is active.

RTSCTRL

Source for modem output pin RTS. This bit reads as 0 when modem loopback mode is active.

RESERVED

Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.

LMS

Loopback Mode Select. The modem loopback mode provides a mechanism to perform diagnostic loopback testing. Serial data from the transmitter is connected internally to serial input of the receiver. Input pin, RXD, has no effect on loopback and output pin, TXD is held in marking state. The DSR, CTS, DCD, and RI pins are ignored. Externally, DTR and RTS are set inactive. Internally, the upper four bits of the MSR are driven by the lower four bits of the MCR. This permits modem status interrupts to be generated in loopback mode by writing the lower four bits of MCR.

0 (DISABLE_MODEM_LOOPBA): Disable modem loopback mode.

1 (ENABLE_MODEM_LOOPBAC): Enable modem loopback mode.

RESERVED

Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.

RTSEN

RTS enable

0 (DISABLE_AUTO_RTS_FLO): Disable auto-rts flow control.

1 (ENABLE_AUTO_RTS_FLOW): Enable auto-rts flow control.

CTSEN

CTS enable

0 (DISABLE_AUTO_CTS_FLO): Disable auto-cts flow control.

1 (ENABLE_AUTO_CTS_FLOW): Enable auto-cts flow control.

RESERVED

Reserved

Links

()